FROM java:11
MAINTAINER ccf xianggj@sinux.com.cn

ENV PARAMS="--spring.profiles.active=dev"

ADD target/business-source.jar /source.jar

EXPOSE 8112/tcp

ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /source.jar $PARAMS"]